

import { defineComponent, watch } from "vue";
import store from "@/focus/store";
import "./index.less"

export default defineComponent({
  name: "",
  emits: [],
  props: {},

  setup() {
    const inject = store.inject()
    watch(() => inject.state.widgetList, (ev) => {
      console.log(ev);
      
    }, { immediate: true, deep: true })
    return {
      inject: inject
    }
  },

  render() {
    return (
      <div>
        {JSON.stringify(this.inject.state.widgetList)}
      </div>
    );
  }
})